package tests.heritage.et.surcharge;

import java.util.LinkedList;

public class Main {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		LinkedList<Object> tzqt = new LinkedList<>();
		
		Parent parent = new Parent();
		Parent enfant = new Enfant();
		
		parent.printFinal();
		enfant.printFinal();
		
		tzqt.add(parent);
		tzqt.add(enfant);
		
		//tzqt.set(18, null);
		tzqt.remove(24);
		
		System.out.println(tzqt);
	}

}
